3.1498 \(\int (b+2 c x) \left (a+b x+c x^2\right ) \, dx\)

Optimal. Leaf size=16 \[ \frac{1}{2} \left (a+b x+c x^2\right )^2 \]

[Out]

(a + b*x + c*x^2)^2/2

_______________________________________________________________________________________

Rubi [A]  time = 0.0102417, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059 \[ \frac{1}{2} \left (a+b x+c x^2\right )^2 \]

Antiderivative was successfully verified.

[In]  Int[(b + 2*c*x)*(a + b*x + c*x^2),x]

[Out]

(a + b*x + c*x^2)^2/2

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int ^{a + b x + c x^{2}} x\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((2*c*x+b)*(c*x**2+b*x+a),x)

[Out]

Integral(x, (x, a + b*x + c*x**2))

_______________________________________________________________________________________

Mathematica [A]  time = 0.00863314, size = 21, normalized size = 1.31 \[ \frac{1}{2} x (b+c x) (2 a+x (b+c x)) \]

Antiderivative was successfully verified.

[In]  Integrate[(b + 2*c*x)*(a + b*x + c*x^2),x]

[Out]

(x*(b + c*x)*(2*a + x*(b + c*x)))/2

_______________________________________________________________________________________

Maple [B]  time = 0.002, size = 33, normalized size = 2.1 \[{\frac{{c}^{2}{x}^{4}}{2}}+bc{x}^{3}+{\frac{ \left ( 2\,ac+{b}^{2} \right ){x}^{2}}{2}}+abx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((2*c*x+b)*(c*x^2+b*x+a),x)

[Out]

1/2*c^2*x^4+b*c*x^3+1/2*(2*a*c+b^2)*x^2+a*b*x

_______________________________________________________________________________________

Maxima [A]  time = 0.698869, size = 19, normalized size = 1.19 \[ \frac{1}{2} \,{\left (c x^{2} + b x + a\right )}^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x + a)*(2*c*x + b),x, algorithm="maxima")

[Out]

1/2*(c*x^2 + b*x + a)^2

_______________________________________________________________________________________

Fricas [A]  time = 0.266705, size = 1, normalized size = 0.06 \[ \frac{1}{2} x^{4} c^{2} + x^{3} c b + \frac{1}{2} x^{2} b^{2} + x^{2} c a + x b a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x + a)*(2*c*x + b),x, algorithm="fricas")

[Out]

1/2*x^4*c^2 + x^3*c*b + 1/2*x^2*b^2 + x^2*c*a + x*b*a

_______________________________________________________________________________________

Sympy [A]  time = 0.094256, size = 31, normalized size = 1.94 \[ a b x + b c x^{3} + \frac{c^{2} x^{4}}{2} + x^{2} \left (a c + \frac{b^{2}}{2}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x+b)*(c*x**2+b*x+a),x)

[Out]

a*b*x + b*c*x**3 + c**2*x**4/2 + x**2*(a*c + b**2/2)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.270045, size = 45, normalized size = 2.81 \[ \frac{1}{2} \, c^{2} x^{4} + b c x^{3} + \frac{1}{2} \, b^{2} x^{2} + a c x^{2} + a b x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x + a)*(2*c*x + b),x, algorithm="giac")

[Out]

1/2*c^2*x^4 + b*c*x^3 + 1/2*b^2*x^2 + a*c*x^2 + a*b*x